 
export const Enum = {
	
	add:1 ,
	
	edit:2,
	
	remove:4,
	
	send:8,
	
	mute:16,
	
	ungroup:32
 }
 
 export const hasAuth = (val,auth)=>{
	return auth = val&auth
 }
 
 export const mergeAuth = (...arr) =>{
	 return arr.reduce((r,n)=>r|n,0)
 }